﻿using MayhemWpf.UserControls;
using System;
using KinectModule.KinectHelpers;

namespace KinectModule.Wpf
{
    /// <summary>
    /// Logique d'interaction pour KinectMoveConfig.xaml
    /// </summary>
    public partial class KinectMoveConfig : WpfConfiguration
    {
        private MotionType _motionType;

        public MotionType MotionType
        {
            get 
            { 
                return _motionType; 
            }

            set 
            { 
                _motionType = value;
            }
        }

        public KinectMoveConfig()
        {
            DataContext = this;
            InitializeComponent();
            Moves.ItemsSource = Enum.GetValues(typeof(MotionType));
            CanSave = true;
        }
    }
}
